<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>哈尔滨工业大学登录入口</title>
	<link rel="stylesheet" type="text/css" href="../28/inc/CSS/mystyle.css">
	<link rel="stylesheet" type="text/css" href="../28/inc/CSS/reset.css">
	<!-- 1903010328  使用jquery -->
	<script type="text/javascript" src="../28/inc/js/jquery-3.6.0.min.js"></script>
	<script type="text/javascript" src="../28/inc/js/jquery.validate.min.js"></script>
	<script type="text/javascript">
	//1903010328 弹出信息框
	 $(document).ready(function(){
      $("#stulogin").validate({
      rules:{
        userid:{
          	required:true,
          	digits:true,
        },
        password:{
          	required:true,
          	digits:true,
        },
      },
      messages:{
        userid:{
          	required:"必填！！",
          	digits:"错误！！",
        },
        password:{
        	required:"必填！！",
          	digits:"错误！！",
            
        },
      }
    })
  })
	</script>
</head>
<body>
	<div id="login">
	<!--顶部logo-->
	<div id="top">
        <img src="../28/inc/pic/00.png">
	</div>
	<!--顶部logo结束-->
	<!--右边登录区域-->
	<div id="navfirst" style="width: 320px;
    height: 330px;
    margin-top: 70px;
    margin-right: 120px;
    display: block;
    background-color:#fbf7f3;
    float:right;
    opacity: 0.8;">
		<h2>统一身份认证登录</h2>
			<form method="post" action="dologin.php" id="stulogin">
			<!--单选按钮-->
			<div id="sel">
				<input type="radio" name="role" value="teacher"><p>教职工</p>
				<input type="radio" name="role" value="student" checked="checked"><p>学生</p>
			</div>
			<!--用户和密码-->
			<div id="lo-user">
			    <img src="../28/inc/pic/user.png">
				<input type="text" name="userid" placeholder="职工号/学号" >
			</div>
			<div id="lo-paw">
			    <img src="../28/inc/pic/paw.png">
				<input type="password" name="password" placeholder="密码">
		    </div>
		    <!--验证码-->
		    <div id="lo-yzm">
		    	<input type="text" id="cd" name="cd"  placeholder="请输入验证码">
		    	<img src="pic.php" >
		    </div>
		    <!--登录按钮-->
		    <div id="d1">
		    <input type="submit" value="登  录" name="submit">
		    </div>
		    <!--底部选项-->
		    <div id="remb">
		    	<input type="checkbox" id="chek" checked="checked">
		    	"一周内免登录"
		    	<a href="">找回密码</a>
		    </div>
			</form>
		</div>
	</div>
	<!--右边登录区域结束-->
</body>
</html> 